<template>
    <div id="editor" v-wechat-title="$route.meta.title">
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "editor",
        created(){
            this.setSession();
        },
        methods: {
            setSession () {
                window.sessionStorage.setItem('key1', 'editor')
            }
        }
    }
</script>

<style lang="sass">
  @import "../../styles/main.scss"
</style>
